define(function(require, exports){
    var $ = require("$");
    var app = require("app")

    function alert_(a,b){
        b = b || '提示';
        if(app){
            app.alert(a,b);
        }else{
            alert(a);
        }
    }

    function popover(){

    }

    return {
        'alert' : alert_,
        'popover' : popover
    }

})